package com.by.hellosecurityoauth2.domain;

import java.io.Serializable;
import javax.persistence.*;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 权限(TAuthority)
 *
 * @author 白羽
 * @Date 2022-12-13 09:15:55
 */

@ApiModel
@Setter
@Getter
@ToString
@Entity
@Table(name = "t_authority")
public class TAuthority implements Serializable {

    private static final long serialVersionUID = 418606591190557591L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;
    
    @ApiModelProperty(value = "权限编码")
	@Column(name = "authority_code")
    private String authorityCode;

    @ApiModelProperty(value = "所属系统")
    @Column(name = "system")
    private String system;

    @ApiModelProperty(value = "所属模块")
    @Column(name = "module")
    private String module;

    @ApiModelProperty(value = "操作权限")
    @Column(name = "operation")
    private String operation;
    

}